﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Google.GData.Client;
using Google.GData.Extensions;
using Google.GData.YouTube;
using Google.GData.Extensions.MediaRss;
using Google.YouTube;
using yt = Google.YouTube;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
		//YouTubeRequestSettings settings =   new YouTubeRequestSettings("example app", clientID, GoogleApiKey);
		//YouTubeRequest request = new YouTubeRequest(settings);

		// get subs:
		Service service = new Service("youtube", "CowHut");
		service.SetAuthenticationToken(Master.Token);
		var result = service.Query(new Uri("http://gdata.youtube.com/feeds/api/users/default/subscriptions?v=2"));
		FeedQuery fq = new FeedQuery();
		// http://gdata.youtube.com/feeds/api/users/default/subscriptions?v=2
	 }
}